SRCS:=$(wildcard *.c)
OBJS:=$(patsubst %c, %o, $(SRCS))
OUTS:=server
CC:=gcc

$(OUTS):$(SRCS)
	$(CC) $^ -o $@ -lcrypt -Wall -O0 -g

.PHONY: clean rebuild

clean:
	$(RM) $(OUTS)

rebuild: clean $(OUTS)
